#define _CRT_SECURE_NO_WARNINGS 1
//#include<stdio.h>
//int main() {
//	int a[10] = { 1,2,3,4,5 };
//	int * p1,*p2;
//	p1 = a;
//	p2 = &a[7];
//	printf("%d", p2 - p1);
//	return 0;
#include<stdio.h>
void swea(int *p1, int *p2) {
	int team;
	team = *p1;
	*p1 = *p2;
	*p2 = team;
}
int main() {
	int* p1, * p2;
	void swea(p1, p2);
	int a, b;
	a = 4;
	b = 5;
	p1 = &a, p2 = &b;
	if (a <= b) {
		swea(p1, p2);
	}
	printf("%d,%d", *p1, *p2);
	return 0;
}